package com.example.forum.services;

import com.example.forum.model.Board;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BoardService {

    int create(Board board);

    Board selectById (Long id);

    List<Board> selectByNum (Integer num);

    List<Board> selectAllNormal ();

    int addOneArticleCountById(Long id);

    int subOneArticleCountById (Long id);

}
